package com.shop.cereshop.commons.domain.agent;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "CereAgentRole", description = "代理商角色表实体类")
@TableName("cere_agent_role")
public class CereAgentRole {
  /**
   * ID
   */
  @ApiModelProperty(value = "ID")
  @TableId(type = IdType.AUTO)
  private Long agentRoleId;

  /**
   * 角色类型
   */
  @ApiModelProperty(value = "角色类型：1-代理商，2-业务员")
  @TableField("role_type")
  private Integer roleType;

  /**
   * 角色昵称
   */
  @ApiModelProperty(value = "角色昵称")
  @TableField("role_name")
  private String roleName;

  /**
   * 创建时间
   */
  @ApiModelProperty(value = "创建时间")
  @TableField("create_time")
  private LocalDateTime createTime;

}
